package com.example.common.entity.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 用户账号
 *
 * @author huangjie
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("t_user")
public class UserEntity extends BaseEntity {
    @TableField("phone")
    private String phone;
    @TableField("password")
    private String password;
    @TableField("name")
    private String name;
    @TableField("role")
    private String role;
    @TableField("userStatus")
    private Integer userStatus;
}
